/**
 * Created by wizard on 2016/12/29.
 */

var web = web || {};
web.urlConfig = {
};

web.urlType = {
  Php: 'php',
  Go: 'go',
  Pay: 'pay',
  Image: 'image',
  GoLive: 'goLive'
};

web.urlMethod = {
  MostSendList: 'gift/mostsendlist',
  MostGetList: 'gift/mostgetlist',
  ReceiveGifts: 'gift/getmyreceiveGifts',
  MySendGifts: 'gift/getmysendGifts',
  BuyYCoinList: 'user/getActivityList',
  BuyVIPList: 'user/getChargeList',
  GetPhoneSMS: 'public/sendSMS',
  CheckPhoneNum: 'user/bindCellPhone',
  GetActivity: 'user/Activity',
  GetLiveList: 'user/get_live_list',
  SetLiveRegister: 'user/set_live_register',
  QQServiceNum: 'user/serviceQQ',
  ServicePhone: 'user/getserviceqq',
  ReceiveActivity: 'user/receiveActivity',
  GetMyTurnConfig: 'xs/minigame/GetMyTurnConfig',
  GetOtherTurnConfig: 'xs/minigame/GetTurnConfig',
  SetTurnConfig: 'xs/minigame/SetTurnConfig',
  TurntableStart: 'xs/minigame/Rotate',
  QunCount: 'xs/discovery/QunCount',
  VCGroupCount:'xs/message/VCGroupCount',
  GetVideoChatConfig: 'xs/message/GetVideochatConfig',
  GetSecretCount:'xs/discovery/SerectCount',
  EarnMoney: 'xs/userinfo/MyEarningsInfo',
  MyLevel: 'xs/userinfo/MyActiveLevelInfo',
  EarnDetails: 'xs/userinfo/MyEarningDetails',
  MostGiftReceived:'xs/discovery/MostWeekDiamondReceived',
  MostGiftSend:'xs/discovery/MostWeekDiamondSend',
  //go bj
  LiveList: 'xs/live/LiveList',
  EnterLive: 'xs/live/EnterLive',
  //php
  getGroup: 'User/getGroup',
  GetBaseVideoList: 'user/video_best_click'
};

web.pages = {
  Novel: 'http://api2.app.yuanfenba.net/novel/index',
  green: 'http://page.xiaoyaoai.cn/app/pages/copyright/greenConvention.html',
  standard: 'http://page.xiaoyaoai.cn/app/pages/square/standard.html'
};

web.versionCode = {
  live: 31
};

web.pagesCode = {
  PageVideoAsk: 504,
  PageVoiceAsk: 505,
  PageAskForGift: 506,
  PageSetTurntable: 507,
  SendVideoGroup: 508,
  SendVoiceGroup: 509,
  PageLevelInfo: 510,
  AnchorManagement:512,
  PlatformSpecific:513,
  PrivacyPolicy:514,
  RegisterAgree:515,
  Tips:516,
  Green:517,
  Terms:518,
  Standard:519,
  ManSta:520,
  AuchorAgree:521,
  Join:522,
  TitleStandard:523
};

web.liveConfig = {
  ios: {
    url: "https://itunes.apple.com/cn/app/id1218187039?mt=8",
    package:  "com.xiaoyou.juxin",
    entrance:  "xiaoyoo"
  },
  android: {
    url: "http://test.file.xiaoyouapp.cn/file/other/XiaoYouYuLe.apk",
    package:  "com.juxin.xiaoyoulive",
    entrance:  "com.juxin.xiaoyoulive.ui.WelcomeActivity"
  }
}

